﻿using System;

namespace NodeJS
{
    [ImportClass("", "")]
    public class Module
    {
        [EvalAtCompile(Value = "events")]
        public const Module<EventEmitter> EVENTS = null;

        [EvalAtCompile(Value = "http")]
        public const Module<Http> HTTP = null;

        [EvalAtCompile(Value = "path")]
        public const Module<Path> PATH = null;

        [EvalAtCompile(Value = "util")]
        public const Module<Util> UTIL = null;

        [EvalAtCompile(Value = "fs")]
        public const Module<FileSystem> FILE_SYSTEM = null;

        [EvalAtCompile(Value = "net")]
        public const Module<Net> NET = null;

        //[EvalAtCompile(Value = "stream")]
        //public const Module<Stream> STREAM = null;

        [EvalAtCompile(Value = "url")]
        public const Module<Url> URL = null;

        [EvalAtCompile(Value = "querystring")]
        public const Module<QueryString> QUERY_STRING = null;

        [EvalAtCompile(Value = "os")]
        public const Module<OS> OS = null;

        [EvalAtCompile(Value = "dns")]
        public const Module<DNS> DNS = null;

        public static T Require<T>(Module<T> module)
        {
            return default(T);
        }
    }

    [NonScript]
    public class Module<T>
    {
    }
}
